package io.renren.modules.app.entity.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * @author LuoShun
 * @emall Lori6166@163.com
 * @date 2022/1/6 22:55
 */
@Data
@ApiModel(value = "登录表单")
public class AppLoginDTO {

    @ApiModelProperty(value = "手机号")
    @NotBlank(message="手机号不能为空")
    private String phone;

    @ApiModelProperty(value = "密码")
    @NotBlank(message="密码不能为空")
    private String password;
}
